import {
    ADD_ADDRESS_LIST,
} from "../actions/actionsTypes"

const defaultState = []

export default function addressList(state = defaultState, action) {
    switch (action.type) {
        case ADD_ADDRESS_LIST:
            return action.data;
        default:
            return state;
    }
}
